<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
         <ui:composition template="/templates/default.xhtml">
            <ui:define name="content">
                <h:panelGrid id="panelInfoNewInst" columns="2" >
                    <f:facet name="header">
                        <h:outputText value="#{locale.formInstituteInfo}"/>
                     </f:facet>
                    <h:outputLabel value="#{locale.formName}:" />
                    <h:outputText value="#{newInstitute.newInstitute.name}" />
                    <h:outputLabel value="#{locale.formAddress}:" />
                    <h:outputText value="#{newInstitute.newInstitute.address}" />
                    <h:outputLabel value="#{locale.formPhone}:" />
                    <h:outputText value="#{newInstitute.newInstitute.phoneNr}"/>
                    <h:outputLabel value="#{locale.formNote}:" />
                    <h:outputText value="#{newInstitute.newInstitute.note}"/>
                </h:panelGrid>
                <h:form>
                    <h:commandButton value="#{locale.buttonBack}" action="#{instituteList.navToInstituteList}" />
                    <h:commandButton value="#{locale.buttonAddMore}" action="#{newInstitute.addNewInstitute}" />
                </h:form>
            </ui:define>
        </ui:composition>
    </h:body>
</html>

